package factory.simple;

public class Consumer {
    public static void main(String[] args) {
//        WuLing wuLing = new WuLing();
//        Tesla tesla = new Tesla();

//        wuLing.name();
//        tesla.name();


        //使用工厂
        Car car = CarFactory.getCar("特斯拉");
        car.name();
    }
}
